KadenceWP\KadenceStarterTemplates\Library_REST_Controller D

Total Complexity 678
Dependencies 25
Dependents 1
Total lines 4,573
Lines of code 3,355
Logical lines of code 1,692
Comment lines 966
Methods 93
Properties 24

Methods 93

Method Rating Maintainability Complexity Lines of code
install_settings()
D
11
62 389
get_new_remote_contents()
D
16
57 278
install_plugins()
D
24
44 155
install_widgets()
C
27
26 150
install_navigation()
B
32 19 113
set_image_data()
B
41 22 54
install_products()
B
36 18 76
register_routes()
B
25
1 326
process_page_content()
B
42 17 49
set_attribute_data()
B
41 16 55
get_images_by_industry()
B
42 16 48
set_category_data()
A
43 15 50
install_posts()
A
43 14 45
import_image()
A
40 12 61
get_all_ai_items()
A
45 13 40
get_single_job()
A
45 12 40
has_initial_jobs()
A
47 12 35
get_remaining_jobs()
A
41 10 58
get_all_local_ai_items()
A
48 11 30
remove_content()
A
49 10 28
get_allowed_plugins()
A
32 1 159
get_ai_base_sites()
A
46 9 36
get_initial_jobs()
A
50 9 30
get_keyword_suggestions()
A
48 8 32
get_image_info()
A
56 9 17
get_remote_search_images()
A
45 7 44
get_remote_industry_images()
A
46 7 42
add_attribute_term_by_id()
A
53 8 24
get_template_data()
A
57 8 17
get_image_search_query()
S
49 7 30
set_post_category_data()
S
53 7 24
set_post_tag_data()
S
52 7 24
get_remote_job()
S
47 6 37
create_template_data_file()
S
54 7 22
check_for_local_image()
S
48 6 37
get_attribute_taxonomy_id()
S
45 5 46
get_remote_posts()
S
50 6 29
get_remote_products()
S
50 6 29
get_local_contexts()
S
57 6 18
create_ai_data_file()
S
56 6 18
update_pages()
S
55 6 18
get_remote_url_contents()
S
52 5 27
install_pages()
S
54 5 20
get_collection_params()
S
40 1 78
get_industry_verticals()
S
57 5 16
schedule_cleanup()
S
67 6 7
get_current_license_email()
S
60 5 14
get_remote_image_collections()
S
56 4 20
get_remote_industry_verticals()
S
58 4 17
get_image_collections()
S
57 4 17
move_widgets_to_inactive()
S
61 4 12
available_widgets()
S
61 4 12
get_token_header()
S
57 3 15
hash()
S
63 4 10
sanitize_industries_array()
S
64 4 10
process_options_images()
S
61 3 13
get_filesystem()
S
62 3 11
get_starter_templates_folder()
S
67 3 9
get_license_keys()
S
66 3 9
get_current_license_key()
S
65 3 9
get_old_pro_license_data()
S
65 3 9
add_attribute_terms_by_id()
S
64 3 10
is_image_url()
S
68 3 8
check_for_image()
S
66 3 9
is_response_code_error()
S
66 3 8
get_auth_data()
S
59 2 14
get_items()
S
62 2 12
get_instance()
S
72 2 6
get_local_template_data_path()
S
70 2 6
get_base_path()
S
68 2 7
get_subfolder_name()
S
71 2 6
get_local_data_contents()
S
68 2 8
get_local_template_data_filename()
S
68 2 7
get_ai_library_folder()
S
69 2 7
get_local_template_data_contents()
S
66 2 9
get_remaining_credits()
S
64 2 10
activate_plugin()
S
67 2 7
create_filename_from_alt()
S
66 2 8
get_base_url()
S
71 2 6
validate_array()
S
80 1 3
sanitize_plugins()
S
75 1 4
sanitize_pages()
S
67 1 8
get_pro_license_data()
S
69 1 7
get_items_permission_check()
S
80 1 3
get_local_ai_data_path()
S
78 1 3
get_ai_subfolder_name()
S
75 1 4
get_local_ai_data_filename()
S
79 1 3
has_local_file()
S
80 1 3
get_data()
S
77 1 4
__construct()
S
68 1 7
sanitize_jpeg_filename()
S
79 1 3
process_images()
S
75 1 4
delete_starter_templates_folder()
S
79 1 3